package com.itheima.jobs;

import com.alibaba.dubbo.config.annotation.Reference;
import com.itheima.service.OrderSettingService;

public class ClearOrderSettingJob {
    @Reference
    private OrderSettingService orderSettingService;

    public void cleanOrderSettingOnTheLastDayOfMonth() {
        try {
            orderSettingService.delOrderSetting();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}

